﻿using System.Collections.Generic;

namespace IOA.MES.ClientApi.Models.Response.Machine
{
    public class QuerySortStacksResponse
    {
        /// <summary>
        /// 拣货规则列表
        /// </summary>
        public List<SortStack> Stacks { get; set; } = new List<SortStack>();
    }

    public class SortStack
    {
        /// <summary>
        /// 堆序号
        /// </summary>
        public int StackNo { get; set; }

        /// <summary>
        /// 当前块数
        /// </summary>
        public int SortNo { get; set; }

        /// <summary>
        /// 是否最后一次分拣堆
        /// </summary>
        public bool LastSort { get; set; }

        /// <summary>
        /// 规则列表
        /// </summary>
        public List<KeyValuePair<string, string>> Rules { get; set; } = new List<KeyValuePair<string, string>>();
    }
}
